exports.routers = function(resolve) {
  /**公共
   * keepAlive
   * fullScreen  无顶部无底部
   * fixedHeader
   *
   * 手机版：
   * isShowBack   左侧返回按钮
   * isShowSearch  右侧搜索按钮
   * isShowTopNav  顶部导航条
   * isShowBottomNav  底部导航
   *
   */
  return [
    {
      path: "/",
      redirect: "/index"
    },
    {
      name: "index",
      path: "/index",
      component: resolve(__dirname, "../pages/pc/index.vue"),
      meta: {
        title: "首页",
        keepAlive: false
      }
    },
    {
      name: "pctest",
      path: "/pctest",
      component: resolve(__dirname, "../pages/pc/pctest.vue"),
      meta: {
        title: "首页",
        fullScreen: true
      }
    },
    {
      name: "protocol",
      path: "/protocol",
      component: resolve(__dirname, "../pages/pc/protocol.vue"),
      meta: {
        title: "用户条例",
      }
    },
    {
      name: "privacy",
      path: "/privacy",
      component: resolve(__dirname, "../pages/pc/privacy.vue"),
      meta: {
        title: "隐私政策",
      }
    },
    {
      name: "vip_member",
      path: "/vip_member",
      component: resolve(__dirname, "../pages/pc/vip_member.vue"),
      meta: {
        title: "会员"
      }
    },
    {
      name: "classroom",
      path: "/classroom",
      component: resolve(__dirname, "../pages/pc/classroom.vue"),
      meta: {
        title: "我的课室"
      }
    },
    {
      name: "comment",
      path: "/comment",
      component: resolve(__dirname, "../pages/pc/mycourse/comment.vue"),
      meta: {
        title: "评价课程"
      }
    },
    {
      name: "certificate",
      path: "/certificate",
      component: resolve(__dirname, "../pages/pc/certificate.vue"),
      meta: {
        title: "证书查询"
      }
    },
    {
      name: "testpaper",
      path: "/testpaper",
      component: resolve(__dirname, "../pages/pc/mytest/testpaper.vue"),
      meta: {
        title: "考试中",
        fullScreen: true
      }
    },
    {
      name: "test_review",
      path: "/test_review",
      component: resolve(__dirname, "../pages/pc/mytest/test_review.vue"),
      meta: {
        title: "考试回顾",
        fullScreen: true
      }
    },
    {
      name: "testover",
      path: "/testover",
      component: resolve(__dirname, "../pages/pc/mytest/testover.vue"),
      meta: {
        title: "考试结束",
        fullScreen: true
      }
    },
    {
      name: "profile",
      path: "/profile",
      component: resolve(__dirname, "../pages/pc/mytest/profile.vue"),
      meta: {
        title: "试题详情"
      }
    },
    {
      name: "teacher-zone",
      path: "/teacher-zone",
      component: resolve(__dirname, "../pages/pc/teacher-zone.vue"),
      meta: {
        title: "名师专区"
      }
    },
    {
      name: "teacher-settled",
      path: "/teacher-settled",
      component: resolve(__dirname, "../pages/pc/teacher-settled.vue"),
      meta: {
        title: "教师入驻"
      }
    },
    {
      name: "custom-form",
      path: "/custom-form",
      component: resolve(__dirname, "../pages/pc/custom-form.vue"),
      meta: {
        title: "表单填写"
      }
    },
    {
      name: "teacher-detail",
      path: "/teacher-detail",
      component: resolve(__dirname, "../pages/pc/teacher-detail.vue"),
      meta: {
        title: "名师详情"
      }
    },
    {
      name: "course-combo",
      path: "/course-combo",
      component: resolve(__dirname, "../pages/pc/course-combo.vue"),
      meta: {
        title: "课程套餐"
      }
    },
    {
      name: "combo-detail",
      path: "/combo-detail",
      component: resolve(__dirname, "../pages/pc/combo-detail.vue"),
      meta: {
        title: "套餐详情"
      }
    },
    {
      name: "personal",
      path: "/personal",
      component: resolve(__dirname, "../pages/pc/personal.vue"),
      meta: {
        title: "个人中心"
      }
    },
    {
      name: "task-paper",
      path: "/task-paper",
      component: resolve(__dirname, "../pages/pc/task-paper.vue"),
      meta: {
        title: "考试作业"
      }
    },
    {
      name: "noticedetail",
      path: "/noticedetail",
      component: resolve(__dirname, "../pages/pc/noticedetail.vue"),
      meta: {
        title: "信息中心"
      }
    },
    {
      name: "information",
      path: "/information",
      component: resolve(__dirname, "../pages/pc/information.vue"),
      meta: {
        title: "资讯中心"
      }
    },
    {
      name: "information-detail",
      path: "/information-detail",
      component: resolve(__dirname, "../pages/pc/information-detail.vue"),
      meta: {
        title: "资讯详情"
      }
    },
    {
      name: "school",
      path: "/school",
      component: resolve(__dirname, "../pages/pc/school.vue"),
      meta: {
        title: "院校库"
      }
    },
    {
      name: "school-detail",
      path: "/school-detail",
      component: resolve(__dirname, "../pages/pc/school-detail.vue"),
      meta: {
        title: "院校详情"
      }
    },
    {
      name: "login",
      path: "/login",
      component: resolve(__dirname, "../pages/pc/login.vue"),
      meta: {
        title: "登录",
        fullScreen: true
      }
    },
    {
      name: "regist",
      path: "/regist",
      component: resolve(__dirname, "../pages/pc/regist.vue"),
      meta: {
        title: "注册",
        fullScreen: true
      }
    },
    {
      name: "classify",
      path: "/classify",
      component: resolve(__dirname, "../pages/pc/classify.vue"),
      meta: {
        title: "课程分类",
      }
    },
    // 新版题库
    {
      name: "question-bank",
      path: "/question-bank",
      component: resolve(__dirname, "../pages/pc/question/question-bank.vue"),
      meta: {
        title: "题库",
      }
    },
    {
      name: "question-detail",
      path: "/question-detail",
      component: resolve(__dirname, "../pages/pc/question/question-detail.vue"),
      meta: {
        title: "题库详情",
      }
    },
    {
      name: "question-information",
      path: "/question-information",
      component: resolve(__dirname, "../pages/pc/question/question-information.vue"),
      meta: {
        title: "题库资讯详情",
      }
    },
    {
      name: "question-paper",
      path: "/question-paper",
      component: resolve(__dirname, "../pages/pc/question/question-paper.vue"),
      meta: {
        title: "试卷",
      }
    },
    {
      name: "question-test",
      path: "/question-test",
      component: resolve(__dirname, "../pages/pc/question/question-test.vue"),
      meta: {
        title: "考试中",
        fullScreen: true
      }
    },
    {
      name: "question-purchase",
      path: "/question-purchase",
      component: resolve(__dirname, "../pages/pc/question/question-purchase.vue"),
      meta: {
        title: "题库购买",
      }
    },
    {
      name: "fraction-count",
      path: "/fraction-count",
      component: resolve(__dirname, "../pages/pc/question/fraction-count.vue"),
      meta: {
        title: "分数统计",
        fullScreen: true
      }
    },

    {
      name: "course",
      path: "/course",
      component: resolve(__dirname, "../pages/pc/course.vue"),
      meta: {}
    },
    {
      name: "test_train",
      path: "/test_train",
      component: resolve(__dirname, "../pages/pc/mytest/test_train.vue"),
      meta: {}
    },
    // {
    //   name: "user",
    //   path: "/user",
    //   component: resolve(__dirname, "../pages/pc/user.vue")
    // },
    {
      name: "presell",
      path: "/presell",
      component: resolve(__dirname, "../pages/pc/presell.vue"),
      meta: {
        title: "预售",
        fullScreen: true
      }
    },
    {
      name: "about",
      path: "/about",
      component: resolve(__dirname, "../pages/pc/about.vue"),
      meta: {
        fixedHeader: true
      }
    },
    {
      name: "binding",
      path: "/binding",
      component: resolve(__dirname, "../pages/pc/Binding.vue"),
      meta: {
        title: "",
        fullScreen: true
      }
    },
    {
      name: "coursedetail",
      path: "/coursedetail",
      component: resolve(__dirname, "../pages/pc/mycourse/coursedetail.vue"),
      meta: {
        title: "课程详情"
      }
    },
    {
      name: "coursebuy",
      path: "/coursebuy",
      component: resolve(__dirname, "../pages/pc/mycourse/coursebuy.vue"),
      meta: {
        title: "订单信息"
      }
    },
    {
      name: "play",
      path: "/play",
      component: resolve(__dirname, "../pages/pc/mycourse/play.vue"),
      meta: {
        title: "播放"
      }
    },
    {
      name: "quickpay",
      path: "/quickpay",
      component: resolve(__dirname, "../pages/pc/quickpay.vue"),
      meta: {
        title: "快捷支付",
        fullScreen: true
      }
    },
    {
      name: "pay-result",
      path: "/pay-result",
      component: resolve(__dirname, "../pages/pc/pay-result.vue"),
      meta: {
        title: "支付结果",
        fullScreen: true
      }
    },
    {
      path: "/m",
      component: resolve(__dirname, "../components/_templete.vue"),
      redirect: "/m/index",
      children: [
        {
          name: "MLogin",
          path: "login",
          component: resolve(__dirname, "../pages/mobile/login.vue"),
          meta: {
            title: "登录"
          }
        },
        {
          name: "MRegist",
          path: "regist",
          component: resolve(__dirname, "../pages/mobile/regist.vue"),
          meta: {
            title: "注册"
          }
        },
        {
          name: "Mindex",
          path: "index",
          component: resolve(__dirname, "../pages/mobile/index.vue"),
          meta: {
            title: "首页",
            keepAlive: true,
            isShowBottomNav: true
          }
        },
        {
          name: "MParent",
          path: "parent",
          component: resolve(__dirname, "../pages/mobile/parent.vue"),
          meta: {
            title: "家长中心",
            keepAlive: false,
            isShowSearch: false,
            isShowTopNav: false,
            isShowBottomNav: false
          }
        },
        {
          name: "MStudySituation",
          path: "study-situation",
          component: resolve(__dirname, "../pages/mobile/study-situation.vue"),
          meta: {
            title: "学习情况",
            keepAlive: false,
            isShowSearch: false,
            isShowTopNav: false,
            isShowBottomNav: false
          }
        },
        {
          name: "Mcourse",
          path: "course",
          component: resolve(__dirname, "../pages/mobile/course.vue"),
          meta: {
            title: "课程列表"
            // keepAlive: true,
            // isShowSearch: true,
            // isShowTopNav: true,
            // isShowBack: true,
            // isShowBottomNav: false
          }
        },
        {
          name: "Msetting",
          path: "setting",
          component: resolve(__dirname, "../pages/mobile/setting.vue"),
          meta: {
            title: "设置"
            // keepAlive: true,
            // isShowSearch: true,
            // isShowTopNav: true,
            // isShowBack: true,
            // isShowBottomNav: false
          }
        },
        {
          name: "McourseMy",
          path: "course-my",
          component: resolve(__dirname, "../pages/mobile/course-my.vue"),
          meta: {
            title: "我的课程",
            keepAlive: true,
            isShowBack: true,
            isShowTopNav: true
          }
        },
        {
          name: "MTeacherZone",
          path: "teacher-zone",
          component: resolve(__dirname, "../pages/mobile/teacher-zone.vue"),
          meta: {
            title: "名师专区",
            keepAlive: true,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "MTeacherDetail",
          path: "teacher-detail",
          component: resolve(__dirname, "../pages/mobile/teacher-detail.vue"),
          meta: {
            title: "名师推荐",
            keepAlive: true,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "MAppDownload",
          path: "app-download",
          component: resolve(__dirname, "../pages/mobile/app-download.vue"),
          meta: {
            title: "APP下载",
            keepAlive: true,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "MDiscount",
          path: "discount",
          component: resolve(__dirname, "../pages/mobile/discount.vue"),
          meta: {
            title: "折扣课程",
            keepAlive: true,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "MCourseDetail",
          path: "course-detail",
          component: resolve(__dirname, "../pages/mobile/course-detail.vue"),
          meta: {
            title: "课程详情",
            keepAlive: false
          }
        },
        {
          name: "MCoursePlay",
          path: "course-play",
          component: resolve(__dirname, "../pages/mobile/course-play.vue"),
          meta: {
            title: "课程播放",
            keepAlive: false
          }
        },
        {
          name: "MInformationDetail",
          path: "information-detail",
          component: resolve(
            __dirname,
            "../pages/mobile/information-detail.vue"
          ),
          meta: {
            title: "新闻资讯",
            keepAlive: false,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "MInformation",
          path: "information",
          component: resolve(__dirname, "../pages/mobile/information.vue"),
          meta: {
            title: "新闻中心",
            keepAlive: false,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "MSchoolDetail",
          path: "school-detail",
          component: resolve(
            __dirname,
            "../pages/mobile/school-detail.vue"
          ),
          meta: {
            title: "院校详情",
            keepAlive: true,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "MSchool",
          path: "school",
          component: resolve(__dirname, "../pages/mobile/school.vue"),
          meta: {
            title: "院校库",
            keepAlive: false,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "Mclassify",
          path: "classify",
          component: resolve(__dirname, "../pages/mobile/classify.vue"),
          meta: {
            title: "分类",
            keepAlive: false,
            isShowBottomNav: true
          }
        },
        {
          name: "Muser",
          path: "user",
          component: resolve(__dirname, "../pages/mobile/user.vue"),
          meta: {
            title: "我的",
            keepAlive: true,
            isShowTopNav: false,
            isShowBottomNav: true
          }
        },
        {
          name: "MMyWrong",
          path: "my-wrong",
          component: resolve(__dirname, "../pages/mobile/my-wrong.vue"),
          meta: {
            title: "我的错题",
            keepAlive: false,
            isShowTopNav: true,
            isShowBack: true,
            isShowBottomNav: true
          }
        },
        {
          name: "MMyTask",
          path: "my-task",
          component: resolve(__dirname, "../pages/mobile/my-task.vue"),
          meta: {
            title: "我的作业",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false,
            isShowBottomNav: false
          }
        },
        {
          name: "MClassInfo",
          path: "class-info",
          component: resolve(__dirname, "../pages/mobile/class-info.vue"),
          meta: {
            title: "班级信息",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false,
            isShowBottomNav: false
          }
        },
        {
          name: "MIntentionScholl",
          path: "intention-school",
          component: resolve(__dirname, "../pages/mobile/intention-school.vue"),
          meta: {
            title: "意向院校",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false,
            isShowBottomNav: false
          }
        },
        {
          name: "MCommentList",
          path: "comment-list",
          component: resolve(__dirname, "../pages/mobile/comment-list.vue"),
          meta: {
            title: "评价信息",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false,
            isShowBottomNav: false
          }
        },
        {
          name: "MComment",
          path: "comment",
          component: resolve(__dirname, "../pages/mobile/comment.vue"),
          meta: {
            title: "课程评价",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false,
            isShowBottomNav: false
          }
        },
        {
          name: "MTaskPaper",
          path: "task-paper",
          component: resolve(__dirname, "../pages/mobile/task-paper.vue"),
          meta: {
            title: "答题",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MMyTest",
          path: "my-test",
          component: resolve(__dirname, "../pages/mobile/my-test.vue"),
          meta: {
            title: "我的练习",
            keepAlive: false,
            isShowTopNav: true,
            isShowBack: true,
            isShowBottomNav: true
          }
        },
        {
          name: "Mabout",
          path: "about",
          component: resolve(__dirname, "../pages/mobile/about.vue"),
          meta: {
            title: "关于我们",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false,
            isShowBottomNav: false
          }
        },
        {
          name: "MProtocol",
          path: "protocol",
          component: resolve(__dirname, "../pages/mobile/protocol.vue"),
          meta: {
            title: "注册协议",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false,
            isShowBottomNav: false
          }
        },
        {
          name: "MAgreement",
          path: "agreement",
          component: resolve(__dirname, "../pages/mobile/agreement.vue"),
          meta: {
            title: "会员服务协议",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false,
            isShowBottomNav: false
          }
        },
        {
          name: "MPrivacyPolicy",
          path: "privacy-policy",
          component: resolve(__dirname, "../pages/mobile/privacy-policy.vue"),
          meta: {
            title: "隐私条例",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false,
            isShowBottomNav: false
          }
        },
        {
          name: "MWallet",
          path: "wallet",
          component: resolve(__dirname, "../pages/mobile/wallet.vue"),
          meta: {
            title: "我的账户",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MStudyCard",
          path: "study-card",
          component: resolve(__dirname, "../pages/mobile/study-card.vue"),
          meta: {
            title: "卡号激活",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MMemberCard",
          path: "member-card",
          component: resolve(__dirname, "../pages/mobile/member-card.vue"),
          meta: {
            title: "会员兑换码",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MCapitalDetail",
          path: "capital-detail",
          component: resolve(__dirname, "../pages/mobile/capital-detail.vue"),
          meta: {
            title: "资金明细",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MMyWallet",
          path: "my-wallet",
          component: resolve(__dirname, "../pages/mobile/my-wallet.vue"),
          meta: {
            title: "我的账户",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MQuickpay",
          path: "quickpay",
          component: resolve(__dirname, "../pages/mobile/quickpay.vue"),
          meta: {
            title: "快捷支付",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MMember",
          path: "member",
          component: resolve(__dirname, "../pages/mobile/member.vue"),
          meta: {
            title: "会员中心",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MAuthentication",
          path: "authentication",
          component: resolve(__dirname, "../pages/mobile/authentication.vue"),
          meta: {
            title: "认证中心",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MAuthDetail",
          path: "auth-detail",
          component: resolve(__dirname, "../pages/mobile/auth-detail.vue"),
          meta: {
            title: "认证设置",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MDistribution",
          path: "distribution",
          component: resolve(__dirname, "../pages/mobile/distribution.vue"),
          meta: {
            title: "分销中心",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MAreaAgent",
          path: "area-agent",
          component: resolve(__dirname, "../pages/mobile/area-agent.vue"),
          meta: {
            title: "区域代理",
            keepAlive: false,
            isShowTopNav: true,
            isShowBack: true
          }
        },
        {
          name: "MMyTeam",
          path: "my-team",
          component: resolve(__dirname, "../pages/mobile/my-team.vue"),
          meta: {
            title: "我的团队",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MTeaDdistribution",
          path: "team-distribution",
          component: resolve(
            __dirname,
            "../pages/mobile/team-distribution.vue"
          ),
          meta: {
            title: "团队分销",
            keepAlive: false,
            isShowTopNav: true,
            isShowBack: true
          }
        },
        {
          name: "MDistributionOrder",
          path: "distribution-order",
          component: resolve(
            __dirname,
            "../pages/mobile/distribution-order.vue"
          ),
          meta: {
            title: "分销订单",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MWithdrawalLog",
          path: "withdrawal-log",
          component: resolve(__dirname, "../pages/mobile/withdrawal-log.vue"),
          meta: {
            title: "提现明细",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MStudyLevel",
          path: "study-level",
          component: resolve(__dirname, "../pages/mobile/study-level.vue"),
          meta: {
            title: "学习等级",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MCourseCombo",
          path: "course-combo",
          component: resolve(__dirname, "../pages/mobile/course-combo.vue"),
          meta: {
            title: "课程套餐",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MComboDetail",
          path: "combo-detail",
          component: resolve(__dirname, "../pages/mobile/combo-detail.vue"),
          meta: {
            title: "套餐详情",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MDistributionExplain",
          path: "distribution-explain",
          component: resolve(
            __dirname,
            "../pages/mobile/distribution-explain.vue"
          ),
          meta: {
            title: "分销说明",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MPoster",
          path: "poster",
          component: resolve(__dirname, "../pages/mobile/poster.vue"),
          meta: {
            title: "分享海报",
            keepAlive: false,
            isShowTopNav: true,
            isShowBack: true
          }
        },
        {
          name: "MWithdrawal",
          path: "withdrawal",
          component: resolve(__dirname, "../pages/mobile/withdrawal.vue"),
          meta: {
            title: "提现",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        // {
        //   name: "MQuickpay",
        //   path: "quickpay",
        //   component: resolve(__dirname, "../pages/mobile/quickpay.vue"),
        //   meta: {
        //     title: "快捷支付",
        //     keepAlive: false,
        //     isShowTopNav: false,
        //     isShowBack: false
        //   }
        // },
        {
          name: "Morder",
          path: "order",
          component: resolve(__dirname, "../pages/mobile/order.vue"),
          meta: {
            title: "确认订单",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MRecharge",
          path: "recharge",
          component: resolve(__dirname, "../pages/mobile/recharge.vue"),
          meta: {
            title: "充值中心",
            keepAlive: false,
            isShowTopNav: true,
            isShowBack: true
          }
        },
        {
          name: "MNotice",
          path: "notice",
          component: resolve(__dirname, "../pages/mobile/notice.vue"),
          meta: {
            title: "通知中心",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false
          }
        },
        {
          name: "MNoticeDetail",
          path: "notice-detail",
          component: resolve(__dirname, "../pages/mobile/notice-detail.vue"),
          meta: {
            title: "消息详情"
          }
        },
        {
          name: "MUserEdit",
          path: "edit",
          component: resolve(__dirname, "../pages/mobile/edit.vue"),
          meta: {
            title: "个人资料",
            keepAlive: false,
            isShowTopNav: false,
            isShowBack: false,
            isShowBottomNav: false
          }
        },
        {
          name: "MUserEditDetail",
          path: "edit-detail",
          component: resolve(__dirname, "../pages/mobile/editDetail.vue"),
          meta: {
            title: "修改资料",
            keepAlive: false,
            isShowBottomNav: false
          }
        },
        {
          name: "MPresell",
          path: "presell",
          component: resolve(__dirname, "../pages/mobile/presell.vue"),
          meta: {
            title: "预报名",
            keepAlive: false
          }
        },
        {
          name: "MQuestionBank",
          path: "question-bank",
          component: resolve(__dirname, "../pages/mobile/question-bank.vue"),
          meta: {
            title: "题库",
            keepAlive: false,
            isShowBottomNav: true,
            isShowTopNav: true
          }
        },
        {
          name: "MTesting",
          path: "testing",
          component: resolve(__dirname, "../pages/mobile/testing.vue"),
          meta: {
            title: "考试",
            keepAlive: false
          }
        },
        {
          name: "MTestLog",
          path: "test-log",
          component: resolve(__dirname, "../pages/mobile/test-log.vue"),
          meta: {
            title: "考试详情",
            keepAlive: false
          }
        },
        {
          name: "MWrongQuestion",
          path: "wrong-question",
          component: resolve(__dirname, "../pages/mobile/wrong-question.vue"),
          meta: {
            title: "我的错题",
            keepAlive: true,
            isShowBack: true,
            isShowTopNav: true
          }
        },
        {
          name: "MStudyPlan",
          path: "study-plan",
          component: resolve(__dirname, "../pages/mobile/study-plan.vue"),
          meta: {
            title: "学习计划",
            keepAlive: false,
            isShowBack: true,
            isShowTopNav: true
          }
        },
        {
          name: "MtestRecord",
          path: "test-record",
          component: resolve(__dirname, "../pages/mobile/test-record.vue"),
          meta: {
            title: "我的考试",
            keepAlive: true,
            isShowBack: true,
            isShowTopNav: true
          }
        },
        {
          name: "MCertificate",
          path: "certificate",
          component: resolve(__dirname, "../pages/mobile/certificate.vue"),
          meta: {
            title: "证书查询",
            keepAlive: false,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "MMyCertificate",
          path: "my-certificate",
          component: resolve(__dirname, "../pages/mobile/my-certificate.vue"),
          meta: {
            title: "我的证书",
            keepAlive: false,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "MTeacherSettled",
          path: "teacher-settled",
          component: resolve(__dirname, "../pages/mobile/teacher-settled.vue"),
          meta: {
            title: "教师入驻",
            keepAlive: true,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "MCustomForm",
          path: "custom-form",
          component: resolve(__dirname, "../pages/mobile/custom-form.vue"),
          meta: {
            title: "表单填写",
            keepAlive: true,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "MCoupon",
          path: "coupon",
          component: resolve(__dirname, "../pages/mobile/coupon.vue"),
          meta: {
            title: "优惠卷",
            keepAlive: false,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "MGroupBooking",
          path: "group-booking",
          component: resolve(__dirname, "../pages/mobile/group-booking.vue"),
          meta: {
            title: "我的拼团",
            keepAlive: false,
            isShowBack: true,
            isShowTopNav: true
          }
        },
        {
          name: "MGroupTuan",
          path: "group-tuan",
          component: resolve(__dirname, "../pages/mobile/group-tuan.vue"),
          meta: {
            title: "拼团",
            keepAlive: false,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        {
          name: "MCollection",
          path: "collection",
          component: resolve(__dirname, "../pages/mobile/collection.vue"),
          meta: {
            title: "我的收藏",
            keepAlive: false,
            isShowBack: false,
            isShowTopNav: false
          }
        },
        //新版题库
        {
          name: "MV2QuestionBank",
          path: "v2-question-bank",
          component: resolve(__dirname, "../pages/questions/question-bank.vue"),
          meta: {
            title: "题库中心",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: true,
            isShowTopNav: false,
            v2BottomNav: 1
          }
        },
        {
          name: "MV2QuestionDetail",
          path: "v2-question-detail",
          component: resolve(
            __dirname,
            "../pages/questions/question-detail.vue"
          ),
          meta: {
            title: "题库详情",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MV2ChapterPractice",
          path: "v2-chapter-practice",
          component: resolve(
            __dirname,
            "../pages/questions/chapter-practice.vue"
          ),
          meta: {
            title: "章节练习",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MV2ChapterPracticeInner",
          path: "chapter-practice-inner",
          component: resolve(
            __dirname,
            "../pages/questions/chapter-practice-inner.vue"
          ),
          meta: {
            title: "章节练习小节",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MV2SimulationTest",
          path: "v2-simulation-test",
          component: resolve(
            __dirname,
            "../pages/questions/simulation-test.vue"
          ),
          meta: {
            title: "模拟考试",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MV2MyMistake",
          path: "v2-my-mistake",
          component: resolve(__dirname, "../pages/questions/my-mistake.vue"),
          meta: {
            title: "我的错题",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MV2TestInformation",
          path: "v2-test-information",
          component: resolve(
            __dirname,
            "../pages/questions/test-information.vue"
          ),
          meta: {
            title: "考试资讯",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MV2TestPaper",
          path: "v2-test-paper",
          component: resolve(__dirname, "../pages/questions/test-paper.vue"),
          meta: {
            title: "试卷详情",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MV2AnswerSheet",
          path: "v2-answer-sheet",
          component: resolve(__dirname, "../pages/questions/answer-sheet.vue"),
          meta: {
            title: "答题卡",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MV2FractionCount",
          path: "v2-fraction-count",
          component: resolve(
            __dirname,
            "../pages/questions/fraction-count.vue"
          ),
          meta: {
            title: "分数统计",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MV2TestRecord",
          path: "v2-test-record",
          component: resolve(__dirname, "../pages/questions/test-record.vue"),
          meta: {
            title: "考试记录",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MV2HistoryScore",
          path: "v2-history-score",
          component: resolve(__dirname, "../pages/questions/history-score.vue"),
          meta: {
            title: "历史成绩",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MV2MyQuestions",
          path: "v2-my-questions",
          component: resolve(__dirname, "../pages/questions/my-questions.vue"),
          meta: {
            title: "我的题库",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MV2QuestionsPurchase",
          path: "v2-question-purchase",
          component: resolve(__dirname, "../pages/questions/question-purchase.vue"),
          meta: {
            title: "题库购买",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "MV2MyTest",
          path: "v2-my-test",
          component: resolve(__dirname, "../pages/questions/my-test.vue"),
          meta: {
            title: "我的考试",
            keepAlive: false,
            isShowBack: false,
            isShowBottomNav: false,
            isShowTopNav: false
          }
        },
        {
          name: "M404",
          path: "404",
          component: resolve(__dirname, "../components/mobile/404.vue"),
          meta: {
            title: "",
            keepAlive: false,
            isShowBack: true,
            isShowSearch: false
          }
        },
        {
          path: "*",
          redirect: "/m/404"
        }
      ]
    },
    {
      name: "404",
      path: "/404",
      component: resolve(__dirname, "../components/404.vue")
    },
    {
      path: "*",
      redirect: "/404"
    }
  ];
};
